<?php
use common\service\UtilService ;
$isMobile = UtilService::isMobile() ;
if($isMobile==true){
    $style = "" ;
}else{
    $style = "width: 820px;" ;
}
?>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"">
    <div class="modal-dialog"  style="<?=$style ?>">
        <div class="modal-content">
            <div class="modal-header">
              <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
              <h4 class="modal-title"><?= Yii::$app->params['webname'] ?></h4>
            </div>
            <div class="modal-body">
                <p>正在加载中...请稍等</p>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-default modal-btn-sure">确认</button>
            </div>
        </div>
    </div>
</div>
<style type="text/css">
    .mask {
        position: absolute; top: 0px; filter: alpha(opacity=60); background-color: #777;
        z-index: 11002; left: 0px;
        opacity:0.5; -moz-opacity:0.5;
    }
</style>
<div id="mask" class="mask"></div>
<script>
    var modalLodingHtml = $('#myModal .modal-content').html();
    function showMask(){
        $("#mask").css("height",$(document).height());
        $("#mask").css("width",$(document).width());
        $("#mask").show();
    }
    function hideMask(){
        $("#mask").hide();
    }
    $(function(){
        $(".download_app").mouseover(function(){
            $(this).addClass("open");
        });
        $(".download_app").mouseout(function(){
            $(this).removeClass("open");
        })
    })
</script>
<footer class="main-footer">
    <div class="pull-right hidden-xs">
        <b>Version</b> 1.1.0
    </div>
    <strong>Copyright &copy; 2017-<?=date("Y")?> <a href="#">广州市联盟机械设备有限公司</a>.</strong> All rights reserved.
</footer>